package com.maimang.platform.dsp.entity;

import com.maimang.platform.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.maimang.platform.base.BaseEntity;

import javax.persistence.Table;
import java.util.Date;

import java.math.BigDecimal;

/**
 * @classname CampaignData
 * @description <br>广告主数据表对应实体类</br>
 * @author  Rocky
 * @date    2019-11-26 11:23:37
 * @email   jintaozhao@qq.com
 * @version 1.0.0
 */
@Table(name = "dsp_campaign_data")
public class CampaignData extends BaseEntity {
	private static final long serialVersionUID=1L;

	
	/**
	 * 广告组数据id
	 */
	@Excel(name = "广告组数据id")
	private Integer pkId;
	
	/**
	 * 广告主id
	 */
	@Excel(name = "广告主id")
	private String advertiserId;
	
	/**
	 * 广告组id
	 */
	@Excel(name = "广告组id")
	private String campaignId;
	
	/**
	 * 广告组名称
	 */
	@Excel(name = "广告组名称")
	private String campaignName;
	
	/**
	 * 数据起始时间
	 */
	@Excel(name = "数据起始时间")
	private String statDatetime;
	
	/**
	 * 数据分组条件
	 */
	@Excel(name = "数据分组条件")
	private String groupBy;
	
	/**
	 * 时间粒度
	 */
	@Excel(name = "时间粒度")
	private String timeGranularity;
	
	/**
	 * 展示
	 */
	@Excel(name = "展示")
	private Integer show;
	
	/**
	 * 点击
	 */
	@Excel(name = "点击")
	private Integer click;
	
	/**
	 * 转化
	 */
	@Excel(name = "转化")
	private Integer convert;
	
	/**
	 * 总花费
	 */
	@Excel(name = "总花费")
	private BigDecimal cost;
	
	/**
	 * 应用下载-激活
	 */
	@Excel(name = "应用下载-激活")
	private Integer active;
	
	/**
	 * 应用下载-安卓下载完成
	 */
	@Excel(name = "应用下载-安卓下载完成")
	private Integer downloadFinish;
	
	/**
	 * 应用下载-安卓下载开始
	 */
	@Excel(name = "应用下载-安卓下载开始")
	private Integer downloadStart;
	
	/**
	 * 应用下载-点击安装数
	 */
	@Excel(name = "应用下载-点击安装数")
	private Integer clickInstall;
	
	/**
	 * 应用下载-安卓安装完成
	 */
	@Excel(name = "应用下载-安卓安装完成")
	private Integer installFinish;
	
	/**
	 * 应用下载-注册
	 */
	@Excel(name = "应用下载-注册")
	private Integer register;
	
	/**
	 * 应用下载-付费数
	 */
	@Excel(name = "应用下载-付费数")
	private Integer payCount;
	
	/**
	 * 应用下载-到达uv
	 */
	@Excel(name = "应用下载-到达uv")
	private Integer inAppUv;
	
	/**
	 * 应用下载-详情页到站uv
	 */
	@Excel(name = "应用下载-详情页到站uv")
	private Integer inAppDetailUv;
	
	/**
	 * 应用下载-加入购物车
	 */
	@Excel(name = "应用下载-加入购物车")
	private Integer inAppCart;
	
	/**
	 * 应用下载-提交订单
	 */
	@Excel(name = "应用下载-提交订单")
	private Integer inAppOrder;
	
	/**
	 * 应用下载-付费
	 */
	@Excel(name = "应用下载-付费")
	private Integer inAppPay;
	
	/**
	 * 落地页-电话拨打数
	 */
	@Excel(name = "落地页-电话拨打数")
	private Integer phone;
	
	/**
	 * 落地页-表单提交
	 */
	@Excel(name = "落地页-表单提交")
	private Integer form;
	
	/**
	 * 落地页-地图搜索
	 */
	@Excel(name = "落地页-地图搜索")
	private Integer mapSearch;
	
	/**
	 * 落地页-按钮button
	 */
	@Excel(name = "落地页-按钮button")
	private Integer button;
	
	/**
	 * 落地页-关键页面浏览
	 */
	@Excel(name = "落地页-关键页面浏览")
	private Integer view;
	
	/**
	 * 落地页-QQ咨询数
	 */
	@Excel(name = "落地页-QQ咨询数")
	private Integer qq;
	
	/**
	 * 落地页-抽奖
	 */
	@Excel(name = "落地页-抽奖")
	private Integer lottery;
	
	/**
	 * 落地页-投票
	 */
	@Excel(name = "落地页-投票")
	private Integer vote;
	
	/**
	 * 落地页-页面跳转
	 */
	@Excel(name = "落地页-页面跳转")
	private Integer redirect;
	
	/**
	 * 落地页-商品购买
	 */
	@Excel(name = "落地页-商品购买")
	private Integer shopping;
	
	/**
	 * 落地页-在线咨询
	 */
	@Excel(name = "落地页-在线咨询")
	private Integer consult;
	
	/**
	 * 落地页-微信
	 */
	@Excel(name = "落地页-微信")
	private Integer wechat;
	
	/**
	 * 落地页-智能电话确认拨打
	 */
	@Excel(name = "落地页-智能电话确认拨打")
	private Integer phoneConfirm;
	
	/**
	 * 落地页-智能电话确认接通
	 */
	@Excel(name = "落地页-智能电话确认接通")
	private Integer phoneConnect;
	
	/**
	 * 落地页-智能电话有效咨询
	 */
	@Excel(name = "落地页-智能电话有效咨询")
	private Integer consultEffective;
	
	/**
	 * 视频-总播放
	 */
	@Excel(name = "视频-总播放")
	private Integer totalPlay;
	
	/**
	 * 视频-有效播放
	 */
	@Excel(name = "视频-有效播放")
	private Integer validPlay;
	
	/**
	 * 视频-wifi播放
	 */
	@Excel(name = "视频-wifi播放")
	private Integer wifiPlay;
	
	/**
	 * 视频-播放时长
	 */
	@Excel(name = "视频-播放时长")
	private Integer playDurationSum;
	
	/**
	 * 视频-播放25%进度总数
	 */
	@Excel(name = "视频-播放25%进度总数")
	private Integer play25FeedBreak;
	
	/**
	 * 视频-播放50%进度总数
	 */
	@Excel(name = "视频-播放50%进度总数")
	private Integer play50FeedBreak;
	
	/**
	 * 视频-播放75%进度总数
	 */
	@Excel(name = "视频-播放75%进度总数")
	private Integer play75FeedBreak;
	
	/**
	 * 视频-播放100%进度总数
	 */
	@Excel(name = "视频-播放100%进度总数")
	private Integer play100FeedBreak;
	
	/**
	 * 附加创意-电话按钮
	 */
	@Excel(name = "附加创意-电话按钮")
	private Integer advancedCreativePhoneClick;
	
	/**
	 * 附加创意-在线咨询
	 */
	@Excel(name = "附加创意-在线咨询")
	private Integer advancedCreativeCounselClick;
	
	/**
	 * 附加创意-表单提交
	 */
	@Excel(name = "附加创意-表单提交")
	private Integer advancedCreativeFormClick;
	
	/**
	 * 互动数据-分享数
	 */
	@Excel(name = "互动数据-分享数")
	private Integer share;
	
	/**
	 * 互动数据-评论数
	 */
	@Excel(name = "互动数据-评论数")
	private Integer comment;
	
	/**
	 * 互动数据-点赞数
	 */
	@Excel(name = "互动数据-点赞数")
	private Integer like;
	
	/**
	 * 互动数据-关注数
	 */
	@Excel(name = "互动数据-关注数")
	private Integer follow;
	
	/**
	 * 互动数据-主页访问量
	 */
	@Excel(name = "互动数据-主页访问量")
	private Integer homeVisited;
	
	/**
	 * 互动数据-挑战赛查看数
	 */
	@Excel(name = "互动数据-挑战赛查看数")
	private Integer iesChallengeClick;
	
	/**
	 * 互动数据-音乐查看数
	 */
	@Excel(name = "互动数据-音乐查看数")
	private Integer iesMusicClick;
	
	/**
	 * 互动数据-单次互动成本
	 */
	@Excel(name = "互动数据-单次互动成本")
	private BigDecimal interactPerCost;
	
	/**
	 * 次留数
	 */
	@Excel(name = "次留数")
	private Integer nextDayOpen;
	
	/**
	 * 次留率
	 */
	@Excel(name = "次留率")
	private Float nextDayOpenRate;
	
	/**
	 * 次留成本
	 */
	@Excel(name = "次留成本")
	private Float nextDayOpenCost;
	
	/**
	 * 创建人
	 */
	@Excel(name = "创建人")
	private String createUser;
	
	/**
	 * 创建时间
	 */
	@Excel(name = "创建时间")
	private Date createTime;
	
	/**
	 * 更新人
	 */
	@Excel(name = "更新人")
	private String updateUser;
	
	/**
	 * 更新时间
	 */
	@Excel(name = "更新时间")
	private Date updateTime;
	
public void setPkId(Integer pkId) {
	this.pkId = pkId;
}

public Integer getPkId()	{
	return pkId;
}
public void setAdvertiserId(String advertiserId) {
	this.advertiserId = advertiserId;
}

public String getAdvertiserId()	{
	return advertiserId;
}
public void setCampaignId(String campaignId) {
	this.campaignId = campaignId;
}

public String getCampaignId()	{
	return campaignId;
}
public void setCampaignName(String campaignName) {
	this.campaignName = campaignName;
}

public String getCampaignName()	{
	return campaignName;
}
public void setStatDatetime(String statDatetime) {
	this.statDatetime = statDatetime;
}

public String getStatDatetime()	{
	return statDatetime;
}
public void setGroupBy(String groupBy) {
	this.groupBy = groupBy;
}

public String getGroupBy()	{
	return groupBy;
}
public void setTimeGranularity(String timeGranularity) {
	this.timeGranularity = timeGranularity;
}

public String getTimeGranularity()	{
	return timeGranularity;
}
public void setShow(Integer show) {
	this.show = show;
}

public Integer getShow()	{
	return show;
}
public void setClick(Integer click) {
	this.click = click;
}

public Integer getClick()	{
	return click;
}
public void setConvert(Integer convert) {
	this.convert = convert;
}

public Integer getConvert()	{
	return convert;
}
public void setCost(BigDecimal cost) {
	this.cost = cost;
}

public BigDecimal getCost()	{
	return cost;
}
public void setActive(Integer active) {
	this.active = active;
}

public Integer getActive()	{
	return active;
}
public void setDownloadFinish(Integer downloadFinish) {
	this.downloadFinish = downloadFinish;
}

public Integer getDownloadFinish()	{
	return downloadFinish;
}
public void setDownloadStart(Integer downloadStart) {
	this.downloadStart = downloadStart;
}

public Integer getDownloadStart()	{
	return downloadStart;
}
public void setClickInstall(Integer clickInstall) {
	this.clickInstall = clickInstall;
}

public Integer getClickInstall()	{
	return clickInstall;
}
public void setInstallFinish(Integer installFinish) {
	this.installFinish = installFinish;
}

public Integer getInstallFinish()	{
	return installFinish;
}
public void setRegister(Integer register) {
	this.register = register;
}

public Integer getRegister()	{
	return register;
}
public void setPayCount(Integer payCount) {
	this.payCount = payCount;
}

public Integer getPayCount()	{
	return payCount;
}
public void setInAppUv(Integer inAppUv) {
	this.inAppUv = inAppUv;
}

public Integer getInAppUv()	{
	return inAppUv;
}
public void setInAppDetailUv(Integer inAppDetailUv) {
	this.inAppDetailUv = inAppDetailUv;
}

public Integer getInAppDetailUv()	{
	return inAppDetailUv;
}
public void setInAppCart(Integer inAppCart) {
	this.inAppCart = inAppCart;
}

public Integer getInAppCart()	{
	return inAppCart;
}
public void setInAppOrder(Integer inAppOrder) {
	this.inAppOrder = inAppOrder;
}

public Integer getInAppOrder()	{
	return inAppOrder;
}
public void setInAppPay(Integer inAppPay) {
	this.inAppPay = inAppPay;
}

public Integer getInAppPay()	{
	return inAppPay;
}
public void setPhone(Integer phone) {
	this.phone = phone;
}

public Integer getPhone()	{
	return phone;
}
public void setForm(Integer form) {
	this.form = form;
}

public Integer getForm()	{
	return form;
}
public void setMapSearch(Integer mapSearch) {
	this.mapSearch = mapSearch;
}

public Integer getMapSearch()	{
	return mapSearch;
}
public void setButton(Integer button) {
	this.button = button;
}

public Integer getButton()	{
	return button;
}
public void setView(Integer view) {
	this.view = view;
}

public Integer getView()	{
	return view;
}
public void setQq(Integer qq) {
	this.qq = qq;
}

public Integer getQq()	{
	return qq;
}
public void setLottery(Integer lottery) {
	this.lottery = lottery;
}

public Integer getLottery()	{
	return lottery;
}
public void setVote(Integer vote) {
	this.vote = vote;
}

public Integer getVote()	{
	return vote;
}
public void setRedirect(Integer redirect) {
	this.redirect = redirect;
}

public Integer getRedirect()	{
	return redirect;
}
public void setShopping(Integer shopping) {
	this.shopping = shopping;
}

public Integer getShopping()	{
	return shopping;
}
public void setConsult(Integer consult) {
	this.consult = consult;
}

public Integer getConsult()	{
	return consult;
}
public void setWechat(Integer wechat) {
	this.wechat = wechat;
}

public Integer getWechat()	{
	return wechat;
}
public void setPhoneConfirm(Integer phoneConfirm) {
	this.phoneConfirm = phoneConfirm;
}

public Integer getPhoneConfirm()	{
	return phoneConfirm;
}
public void setPhoneConnect(Integer phoneConnect) {
	this.phoneConnect = phoneConnect;
}

public Integer getPhoneConnect()	{
	return phoneConnect;
}
public void setConsultEffective(Integer consultEffective) {
	this.consultEffective = consultEffective;
}

public Integer getConsultEffective()	{
	return consultEffective;
}
public void setTotalPlay(Integer totalPlay) {
	this.totalPlay = totalPlay;
}

public Integer getTotalPlay()	{
	return totalPlay;
}
public void setValidPlay(Integer validPlay) {
	this.validPlay = validPlay;
}

public Integer getValidPlay()	{
	return validPlay;
}
public void setWifiPlay(Integer wifiPlay) {
	this.wifiPlay = wifiPlay;
}

public Integer getWifiPlay()	{
	return wifiPlay;
}
public void setPlayDurationSum(Integer playDurationSum) {
	this.playDurationSum = playDurationSum;
}

public Integer getPlayDurationSum()	{
	return playDurationSum;
}
public void setPlay25FeedBreak(Integer play25FeedBreak) {
	this.play25FeedBreak = play25FeedBreak;
}

public Integer getPlay25FeedBreak()	{
	return play25FeedBreak;
}
public void setPlay50FeedBreak(Integer play50FeedBreak) {
	this.play50FeedBreak = play50FeedBreak;
}

public Integer getPlay50FeedBreak()	{
	return play50FeedBreak;
}
public void setPlay75FeedBreak(Integer play75FeedBreak) {
	this.play75FeedBreak = play75FeedBreak;
}

public Integer getPlay75FeedBreak()	{
	return play75FeedBreak;
}
public void setPlay100FeedBreak(Integer play100FeedBreak) {
	this.play100FeedBreak = play100FeedBreak;
}

public Integer getPlay100FeedBreak()	{
	return play100FeedBreak;
}
public void setAdvancedCreativePhoneClick(Integer advancedCreativePhoneClick) {
	this.advancedCreativePhoneClick = advancedCreativePhoneClick;
}

public Integer getAdvancedCreativePhoneClick()	{
	return advancedCreativePhoneClick;
}
public void setAdvancedCreativeCounselClick(Integer advancedCreativeCounselClick) {
	this.advancedCreativeCounselClick = advancedCreativeCounselClick;
}

public Integer getAdvancedCreativeCounselClick()	{
	return advancedCreativeCounselClick;
}
public void setAdvancedCreativeFormClick(Integer advancedCreativeFormClick) {
	this.advancedCreativeFormClick = advancedCreativeFormClick;
}

public Integer getAdvancedCreativeFormClick()	{
	return advancedCreativeFormClick;
}
public void setShare(Integer share) {
	this.share = share;
}

public Integer getShare()	{
	return share;
}
public void setComment(Integer comment) {
	this.comment = comment;
}

public Integer getComment()	{
	return comment;
}
public void setLike(Integer like) {
	this.like = like;
}

public Integer getLike()	{
	return like;
}
public void setFollow(Integer follow) {
	this.follow = follow;
}

public Integer getFollow()	{
	return follow;
}
public void setHomeVisited(Integer homeVisited) {
	this.homeVisited = homeVisited;
}

public Integer getHomeVisited()	{
	return homeVisited;
}
public void setIesChallengeClick(Integer iesChallengeClick) {
	this.iesChallengeClick = iesChallengeClick;
}

public Integer getIesChallengeClick()	{
	return iesChallengeClick;
}
public void setIesMusicClick(Integer iesMusicClick) {
	this.iesMusicClick = iesMusicClick;
}

public Integer getIesMusicClick()	{
	return iesMusicClick;
}
public void setInteractPerCost(BigDecimal interactPerCost) {
	this.interactPerCost = interactPerCost;
}

public BigDecimal getInteractPerCost()	{
	return interactPerCost;
}
public void setNextDayOpen(Integer nextDayOpen) {
	this.nextDayOpen = nextDayOpen;
}

public Integer getNextDayOpen()	{
	return nextDayOpen;
}
public void setNextDayOpenRate(Float nextDayOpenRate) {
	this.nextDayOpenRate = nextDayOpenRate;
}

public Float getNextDayOpenRate()	{
	return nextDayOpenRate;
}
public void setNextDayOpenCost(Float nextDayOpenCost) {
	this.nextDayOpenCost = nextDayOpenCost;
}

public Float getNextDayOpenCost()	{
	return nextDayOpenCost;
}
public void setCreateUser(String createUser) {
	this.createUser = createUser;
}

public String getCreateUser()	{
	return createUser;
}
public void setCreateTime(Date createTime) {
	this.createTime = createTime;
}

public Date getCreateTime()	{
	return createTime;
}
public void setUpdateUser(String updateUser) {
	this.updateUser = updateUser;
}

public String getUpdateUser()	{
	return updateUser;
}
public void setUpdateTime(Date updateTime) {
	this.updateTime = updateTime;
}

public Date getUpdateTime()	{
	return updateTime;
}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
						.append("pkId" ,getPkId())
						.append("advertiserId" ,getAdvertiserId())
						.append("campaignId" ,getCampaignId())
						.append("campaignName" ,getCampaignName())
						.append("statDatetime" ,getStatDatetime())
						.append("groupBy" ,getGroupBy())
						.append("timeGranularity" ,getTimeGranularity())
						.append("show" ,getShow())
						.append("click" ,getClick())
						.append("convert" ,getConvert())
						.append("cost" ,getCost())
						.append("active" ,getActive())
						.append("downloadFinish" ,getDownloadFinish())
						.append("downloadStart" ,getDownloadStart())
						.append("clickInstall" ,getClickInstall())
						.append("installFinish" ,getInstallFinish())
						.append("register" ,getRegister())
						.append("payCount" ,getPayCount())
						.append("inAppUv" ,getInAppUv())
						.append("inAppDetailUv" ,getInAppDetailUv())
						.append("inAppCart" ,getInAppCart())
						.append("inAppOrder" ,getInAppOrder())
						.append("inAppPay" ,getInAppPay())
						.append("phone" ,getPhone())
						.append("form" ,getForm())
						.append("mapSearch" ,getMapSearch())
						.append("button" ,getButton())
						.append("view" ,getView())
						.append("qq" ,getQq())
						.append("lottery" ,getLottery())
						.append("vote" ,getVote())
						.append("redirect" ,getRedirect())
						.append("shopping" ,getShopping())
						.append("consult" ,getConsult())
						.append("wechat" ,getWechat())
						.append("phoneConfirm" ,getPhoneConfirm())
						.append("phoneConnect" ,getPhoneConnect())
						.append("consultEffective" ,getConsultEffective())
						.append("totalPlay" ,getTotalPlay())
						.append("validPlay" ,getValidPlay())
						.append("wifiPlay" ,getWifiPlay())
						.append("playDurationSum" ,getPlayDurationSum())
						.append("play25FeedBreak" ,getPlay25FeedBreak())
						.append("play50FeedBreak" ,getPlay50FeedBreak())
						.append("play75FeedBreak" ,getPlay75FeedBreak())
						.append("play100FeedBreak" ,getPlay100FeedBreak())
						.append("advancedCreativePhoneClick" ,getAdvancedCreativePhoneClick())
						.append("advancedCreativeCounselClick" ,getAdvancedCreativeCounselClick())
						.append("advancedCreativeFormClick" ,getAdvancedCreativeFormClick())
						.append("share" ,getShare())
						.append("comment" ,getComment())
						.append("like" ,getLike())
						.append("follow" ,getFollow())
						.append("homeVisited" ,getHomeVisited())
						.append("iesChallengeClick" ,getIesChallengeClick())
						.append("iesMusicClick" ,getIesMusicClick())
						.append("interactPerCost" ,getInteractPerCost())
						.append("nextDayOpen" ,getNextDayOpen())
						.append("nextDayOpenRate" ,getNextDayOpenRate())
						.append("nextDayOpenCost" ,getNextDayOpenCost())
						.append("createUser" ,getCreateUser())
						.append("createTime" ,getCreateTime())
						.append("updateUser" ,getUpdateUser())
						.append("updateTime" ,getUpdateTime())
				.toString();
	}
}
